package com.ljx.itbbs.server.user.service;

import com.ljx.itbbs.server.user.domain.entity.PermsEntity;
import com.ljx.itbbs.server.user.domain.vo.req.PermsSaveReq;
import com.ljx.itbbs.server.user.domain.vo.req.PermsUpdateReq;
import com.ljx.itbbs.server.user.domain.vo.resp.PermsCategoryResp;
import com.ljx.itbbs.server.user.domain.vo.resp.PermsResp;
import com.ljx.itbbs.server.user.domain.vo.resp.PermsTree;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author LiJunXi
 * @since 2024-03-02
 */
public interface PermsService {

    Set<String> getPermission(Long uid);

    List<PermsEntity> getList();

    void savePerms(PermsSaveReq req);

    void updatePerms(PermsUpdateReq req);

    List<PermsTree> getPermsList();

    PermsResp getPermsInfo(Long permsId);

    List<PermsResp> getByRoleId(Long roleId);
}
